package com.zhixiang.xaec.service.safebase.relatedparty.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.relatedparty.AgreementContractDao;
import com.zhixiang.xaec.entity.safebase.relatedparty.AgreementContract;
import com.zhixiang.xaec.service.safebase.relatedparty.AgreementContractService;

@Service
public class AgreementContractServiceImpl extends BaseServiceImpl<AgreementContract, Long> implements AgreementContractService{

	@Override
	public String delete(String[] ids) {
		for(String id:ids){
			getDao().remove(Long.valueOf(id));
		}
		return null;
	}

	@Override
	@Resource(type=AgreementContractDao.class)
	public void setBaseDao(BaseDao<AgreementContract, Long> dao) {
		
		setDao(dao);
	}
	
	
	
}
